// store/user/mutations.ts

import { MutationTree } from 'vuex'
import { MenuState } from './types'

export const mutations: MutationTree<MenuState> = {
  saveMenu(state, menus) {
    state = Object.assign(state, menus)
  }
}
